#ifndef __WTC6104_H__
#define __WTC6104_H__
#define DetectKeyTime    0
#define DetectKeyPower   1
#define DetectKeyAuto    2
typedef enum KeyState
{
   Idle=0,
   ShortPress,
   LongPress
}_KeyState;
extern _KeyState KeyState[4];
void KeyScan(void);
void BuzzTask(void);
void KeyRespose(void(*KeyTimeShortPress)(),void(*KeyPowerShortPress)(),void(*KeyAutoShortPress)(),
	              void(*KeyTimeLongPress)() ,void(*KeyPowerLongPress)(),void(*KeyAutoLongPress) ());			
#endif


